Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MoveOS] Refactor MoveOS, make the pre_execute and post_execute functions be pre-transaction config #504

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

jolestar
Copy link
Contributor

One approach to #460

Every transaction can have multi pre-execute functions and post-execute functions.

flowchart TD
  subgraph pre_execute_functions
  tv_pre[transaction_validator::pre_execute] --> x_pre[x_auth_validator::pre_execute]
  end 
  
  x_pre --> tx_action[transaction::move_action] --> x_post
  
  subgraph post_execute_functions
  x_post[x_auth_validator::post_execute] --> tv_post[transaction_validator::post_execute]
  end
  
Loading

@vercel
Copy link

vercel bot commented Jul 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
rooch ⬜️ Ignored (Inspect) Jul 18, 2023 4:32am

@jolestar jolestar merged commit c275c2e into main Jul 18, 2023
3 checks passed
@jolestar jolestar deleted the refactor_pre_post_execute branch July 18, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants